//-----------------------------------------------------------------------------
// Copyright (c) 2011 David Waby
// Initially created on 14/11/2011
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// InventoryItem inline functions
//-----------------------------------------------------------------------------